We need to link gdk with the gio library for non-X11 backends
authorTor Lillqvist <tml@iki.fi>
Sun, 27 Jun 2010 21:20:44 +0000 (00:20 +0300)
committerTor Lillqvist <tml@iki.fi>
Sun, 27 Jun 2010 21:20:44 +0000 (00:20 +0300)
(For X11, we link with gio-unix which takes care of it.)

configure.ac

index ebeeedfb54a8f19a3068e9767d5f27947a44cf4b..c762bff860548ae0a3ebdcf2ecc0d649f50dcca1 100644 (file)
@@ -1300,7 +1300,7 @@ LDFLAGS="$saved_ldflags"
 if test "x$gdktarget" = "xx11"; then
   GDK_PACKAGES="$PANGO_PACKAGES gio-unix-2.0 $X_PACKAGES gdk-pixbuf-2.0 cairo-$cairo_backend"
 else
-  GDK_PACKAGES="$PANGO_PACKAGES $X_PACKAGES gdk-pixbuf-2.0 cairo-$cairo_backend"
+  GDK_PACKAGES="$PANGO_PACKAGES gio-2.0 gdk-pixbuf-2.0 cairo-$cairo_backend"
 fi
 
 GDK_DEP_LIBS="$GDK_EXTRA_LIBS `$PKG_CONFIG --libs $GDK_PACKAGES`"